package com.zg.autoflow.dao.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zg.autoflow.req.AutoflowMainPageReq;
import com.zg.autoflow.vo.AutoflowMainPageVo;
import com.zg.common.core.dao.autoflow.entity.AutoflowExtSpecialFinal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AutoFlowBusinessMapper {
    IPage<AutoflowMainPageVo> page(Page<AutoflowMainPageVo> page, @Param("form")AutoflowMainPageReq autoflowMainPageReq);

    void delSettleBizmodel( @Param("list")List<String> formIds);

    void delSettleWorkflowByCode(@Param("code")String code);

    void delSettleWorkflowStepByCode(@Param("code")String code);

    void delSettleWorkflowUserByCode(@Param("code")String code);

    void delFlowStepUserByCode(@Param("code")String code);

    void delSettleWorkflowSubByCode(@Param("code")String code);

    void delSettleWorkflowStepSubByCode(@Param("code")String code);

    void delSettleWorkflowStepSubUserByCode(@Param("code")String code);

    List<AutoflowExtSpecialFinal> selectListByFlow(@Param("flowCodes") List flowList);
}
